package com.itheima.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-08-03 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="t_blog_spider" )
public class BlogSpider  implements Serializable {

	private static final long serialVersionUID =  3180594900236521244L;

	/**
	 * 唯一uid
	 */
   	@Column(name = "uid" )
	@Id
	private String uid;

	/**
	 * 博客标题
	 */
   	@Column(name = "title" )
	private String title;

	/**
	 * 博客简介
	 */
   	@Column(name = "summary" )
	private String summary;

	/**
	 * 博客内容
	 */
   	@Column(name = "content" )
	private String content;

	/**
	 * 标签uid
	 */
   	@Column(name = "tag_uid" )
	private String tagUid;

	/**
	 * 博客点击数
	 */
   	@Column(name = "click_count" )
	private Long clickCount;

	/**
	 * 博客收藏数
	 */
   	@Column(name = "collect_count" )
	private Long collectCount;

	/**
	 * 标题图片uid
	 */
   	@Column(name = "file_uid" )
	private String fileUid;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 管理员uid
	 */
   	@Column(name = "admin_uid" )
	private String adminUid;

	/**
	 * 是否原创（0:不是 1：是）
	 */
   	@Column(name = "is_original" )
	private String isOriginal;

	/**
	 * 作者
	 */
   	@Column(name = "author" )
	private String author;

	/**
	 * 文章出处
	 */
   	@Column(name = "articles_part" )
	private String articlesPart;

	/**
	 * 博客分类UID
	 */
   	@Column(name = "blog_sort_uid" )
	private String blogSortUid;

	/**
	 * 推荐等级(0:正常)
	 */
   	@Column(name = "level" )
	private Integer level;

	/**
	 * 是否发布：0：否，1：是
	 */
   	@Column(name = "is_publish" )
	private String isPublish;

	/**
	 * 排序字段
	 */
   	@Column(name = "sort" )
	private Long sort;

}
